﻿using DataModels.Models.IQWebsite;
using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;

namespace DataModels.Models.Context
{
    public class IQWebsiteContext : DbContext
    {
        public IQWebsiteContext()
            : base("Name=IQSMS_TestDBContext")
        {            
        }

        static IQWebsiteContext()
        {
            Database.SetInitializer<IQSMS_TestDBContext>(null);
        }

        public DbSet<Activity> Activities { get; set; }
        public DbSet<Region> Regions { get; set; }
        public DbSet<District> Districts { get; set; }
        public DbSet<Facility> Facilities { get; set; }
        public DbSet<TripReport> TripReports { get; set; }
        public DbSet<TripReportDistrict> TripReportDistricts { get; set; }
        public DbSet<TripReportMonth> TripReportMonths { get; set; }
    }
}
